package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.INumeroDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.Numero;

@Service( "numeroService" )
public class NumeroService extends ServiceGeneric<Numero, Integer> implements
        INumeroService {

    @Autowired
    private transient INumeroDao numeroDao;

    public NumeroService() {

    }

    @Override
    public IDaoGeneric<Numero, Integer> getDAO() {
        // TODO Auto-generated method stub
        return this.numeroDao;
    }

}
